package com.neutechi.day01.demo;

import java.util.Scanner;

public class Demo5 {
    public static void main(String[] args) {
        Scanner sc =new Scanner(System.in);
//        String input =sc.nextLine();
        System.out.println("请输入第一个数值:");
        int num1 = sc.nextInt();
        System.out.println("请输入第二个数值");
        int num2 = sc.nextInt();
        int result = num1 + num2;
        System.out.println("它们的和为:"+result);

    }
}
